import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function selectList(query) {
  return request({
    url: '/system/historyEmail/list',
    method: 'get',
    params: query
  })
}


//删除【请填写功能名称】列表
export function deleteHistoryEmail(id) {
  return request({
    url: '/system/historyEmail/' + id,
    method: 'delete'
  })
}


// 查询模板
export function selectTemplateById(id,) {
  return request({
    url: '/system/historyEmail/' + id ,
    method: 'get'
  })
}
